//
//  LightButton.h
//  BalanceCar
//
//  Created by 郑信鸿 on 17/6/27.
//  Copyright © 2017年 郑信鸿. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef enum : NSUInteger {
    LightButtonClose,
    LightButtonOpen,
    LightButtonAuto
    
} LightButtonState;

@class LightButton;

@protocol LightButtonDelegate <NSObject>

- (void)lightbutton:(LightButton *)lightBtn touchState:(LightButtonState)lightState;


@end

@interface LightButton : UIButton


@property(nonatomic, assign)LightButtonState lightState;

@property(nonatomic, assign)id<LightButtonDelegate>delegate;


@end
